<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="cw" uri="/widget-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<meta http-equiv=Content-Type content="text/html; charset=UTF-8">
		<title>树形表格</title>
		<cw:base />
	</head>
	<body>
	<ul>
		<li>
			<b>树形表格以树形形式展示表格数据。可以对表格记录进行展开和折叠，来显示和隐藏其子记录。</b>
		</li>
		<li>
			<b>属性表格构件的treeColumn属性为展开图标所在列的字段名称，即对应表格列控件的property属性。</b>
		</li>
	</ul>
	<br/>
	<br/>
	<ul>
		<li>
			树形表格，设置树展开列treeColumn为organization
			<cw:treeGrid id="treeGrid" url="../../../../sample/grid/treegrid.action" forceFit="false" treeColumn="organization" 
			    height="400">
					<cw:gridColumn property="id" title="编号" dataType="int" width="10%"/>
					<cw:gridColumn property="organization" title="组织" width="20%"/>
					<cw:gridColumn property="orgLevel" title="级别" width="10%"/>
					<cw:gridColumn property="createTime" title="创建时间" width="20%"/>
			</cw:treeGrid>
			<br/>
		</li>
	</ul>	
	</body>
	<cw:theme></cw:theme>
</html>